#!/bin/bash

echo "联想 Thinkpad 的指纹驱动有毛病"
echo "更新指纹驱动为第三方"
echo ""
read -p "回车继续"

sudo apt remove fprintd
sudo add-apt-repository ppa:uunicorn/open-fprintd
sudo apt install open-fprintd fprintd-clients python3-validity

echo "在接下来显示的页面中启动指纹认证"
read -p "继续"
sudo pam-auth-update

echo "请录指纹"
fprintd-enroll
